package com.ossjk.qlh.order.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ossjk.core.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 订单套餐项
 * @author liuxi
 * @since 2020-08-14
 */
@ApiModel(value = "订单套餐项")
public class Orderitm extends BaseEntity<Orderitm> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键", required = true)
	@TableId("id")
	private String id;
	/**
	 * 订单id
	 */
	@ApiModelProperty(value = "订单id")
	@TableField("oid")
	private String oid;
	/**
	 * 套餐id
	 */
	@ApiModelProperty(value = "套餐id")
	@TableField("smid")
	private BigDecimal smid;
	/**
	 * 主菜
	 */
	@ApiModelProperty(value = "主菜")
	@TableField("mdh")
	private Date mdh;
	/**
	 * 副菜
	 */
	@ApiModelProperty(value = "副菜")
	@TableField("fdh")
	private String fdh;
	/**
	 * 主食
	 */
	@ApiModelProperty(value = "主食")
	@TableField("mfd")
	private String mfd;
	/**
	 * 青菜
	 */
	@ApiModelProperty(value = "青菜")
	@TableField("vgtb")
	private String vgtb;
	/**
	 * 其他小食  其他表达式[{nm:'薯条'，ct:2},]
	 */
	@ApiModelProperty(value = "其他小食  其他表达式[{nm:'薯条'，ct:2},]")
	@TableField("otrs")
	private String otrs;
	/**
	 * 金额
	 */
	@ApiModelProperty(value = "金额")
	@TableField("cost")
	private BigDecimal cost;

	public String  getId() {
		return id;
	}
	public void  setId(String id) {
		this.id = id;
	}
	public String  getOid() {
		return oid;
	}
	public void  setOid(String oid) {
		this.oid = oid;
	}
	public BigDecimal  getSmid() {
		return smid;
	}
	public void  setSmid(BigDecimal smid) {
		this.smid = smid;
	}
	public Date  getMdh() {
		return mdh;
	}
	public void  setMdh(Date mdh) {
		this.mdh = mdh;
	}
	public String  getFdh() {
		return fdh;
	}
	public void  setFdh(String fdh) {
		this.fdh = fdh;
	}
	public String  getMfd() {
		return mfd;
	}
	public void  setMfd(String mfd) {
		this.mfd = mfd;
	}
	public String  getVgtb() {
		return vgtb;
	}
	public void  setVgtb(String vgtb) {
		this.vgtb = vgtb;
	}
	public String  getOtrs() {
		return otrs;
	}
	public void  setOtrs(String otrs) {
		this.otrs = otrs;
	}
	public BigDecimal  getCost() {
		return cost;
	}
	public void  setCost(BigDecimal cost) {
		this.cost = cost;
	}


	@Override
	protected Serializable pkVal() {
		return null;
	}

	@Override
	public String toString() {
		return "Orderitm ["
	+"id=" + id +","
	+"oid=" + oid +","
	+"smid=" + smid +","
	+"mdh=" + mdh +","
	+"fdh=" + fdh +","
	+"mfd=" + mfd +","
	+"vgtb=" + vgtb +","
	+"otrs=" + otrs +","
	+"cost=" + cost
	+ "]";
	}


}
